<!DOCTYPE html>
<html lang="ch" xmlns:th="http://www.thymeleaf.org"/>
<head>
  <th:block th:include="inc :: header('租方管理编辑')" />
</head>
<body>
    <form id="dataForm" class="layui-form layui-form-pane" style="margin: 10px">
        <input type="hidden" name="id" th:value="${gu.id}" /><!--隐藏域-->
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-inline">
                <input type="text" name="name" class="layui-input" placeholder="请输入中文名字" th:value="${gu.name}"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <input type="radio" name="sex" value="1" title="男" th:checked="${gu.sex == '1'}">
                <input type="radio" name="sex" value="2" title="女" th:checked="${gu.sex == '2'}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">身份证号码</label>
            <div class="layui-input-inline">
                <input type="text" name="idcard" class="layui-input" placeholder="请输入18位身份证号码" th:value="${gu.idcard}"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系方式</label>
            <div class="layui-input-inline">
                <input type="text" name="mobile" class="layui-input" placeholder="请输入11位手机号码" th:value="${gu.mobile}"/>
            </div>
        </div>
    </form>
    <script>
        layui.use('form',function () {
            
        })
    </script>
</body>
</html>